package com.project.Library;

import android.content.Context;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentPagerAdapter;
import android.support.v4.app.ListFragment;

import com.project.CourseManager.d1_Search;
import com.project.CourseManager.test_Search;

public class testListFragAdapter extends FragmentPagerAdapter {

	Context c;
	ListFragment lf = new ListFragment();
	Fragment f = new Fragment();
	d1_Search d1 = new d1_Search();

	public testListFragAdapter(Context context, FragmentManager fm) {
		super(fm);
		c = context;
	}

	@Override
	public ListFragment getItem(int position) {

		switch (position) {

		case 0:
			lf = test_Search.newInstance(c);
			break;
		}
		return lf;
	}

	@Override
	public int getCount() {
		return 1;
	}
	
	public String getTag(int position) {
		return null;
	}
	
}